package com.ls.lserp.dbaccess.Dao;

import java.util.List;

import com.ls.lserp.common.persistence.CrudDao;
import com.ls.lserp.common.persistence.annotation.MyBatisDao;
import com.ls.lserp.dbaccess.Entity.StyleMaterialEntity;
import com.ls.lserp.dbaccess.Entity.StyleMaterialEntityWithBLOBs;

@MyBatisDao
public interface StyleMaterialEntityMapper extends CrudDao<StyleMaterialEntity> {
	int deleteByPrimaryKey(Long styleMaterialId);

	int insert(StyleMaterialEntityWithBLOBs record);

	int insertSelective(StyleMaterialEntityWithBLOBs record);

	StyleMaterialEntityWithBLOBs selectByPrimaryKey(Long styleMaterialId);

	int updateByPrimaryKeySelective(StyleMaterialEntityWithBLOBs record);

	int updateByPrimaryKeyWithBLOBs(StyleMaterialEntityWithBLOBs record);

	int updateByPrimaryKey(StyleMaterialEntity record);

	List<StyleMaterialEntity> findList(Long styleId);

	int insertData(StyleMaterialEntity entity);
	
	int insertList(List<StyleMaterialEntity> list);
}